package  
{
	import flash.display.*;
	
	/**
	 * ...
	 * @author ...
	 */
	public class QuickSprite extends Sprite 
	{
		
		private var _vSprite:Vector.<Sprite> = new Vector.<Sprite>();
		private var _aSprite:Array = new Array();
		
		public function QuickSprite() 
		{
			super();
			
			for (var __i:uint = 0; __i < 10; __i++)
			{
				var _s:Sprite = new Sprite;
				_s.graphics.clear();
				_s.graphics.beginFill(0x000000);
				_s.graphics.drawEllipse(0, 0, 50, 100);
				_s.graphics.endFill();
				
				addChild(_s);
				_s.visible = false;
				_vSprite.push(_s);
				_aSprite.push(_s);
			}
			
			trace(this, _vSprite.indexOf(_aSprite[_aSprite.length -1]));
		}
		
	}

}